package android.location;

public class Location {

	private double latitude;
	private double longitude;
	private double altidude;
	private double speed;
	private double bearing;
	private long time;
	private double accurancy;
	
	public Location(String provider) {
	}

	public Location() {
		
	}
	
	public static void distanceBetween(double startLatitude,
			double startLongitude, double endLatitude, double endLongitude,
			float[] results) {
		throw new RuntimeException("Stub!");
	}

	public float distanceTo(Location dest) {
		throw new RuntimeException("Stub!");
	}

	public float bearingTo(Location dest) {
		throw new RuntimeException("Stub!");
	}

	public String getProvider() {
		throw new RuntimeException("Stub!");
	}

	public void setProvider(String provider) {
		throw new RuntimeException("Stub!");
	}


	public boolean hasAltitude() {
		return false;
	}

	public void removeAltitude() {
		throw new RuntimeException("Stub!");
	}

	public boolean hasSpeed() {
		return speed > 0.0;
	}

	public void removeSpeed() {
		throw new RuntimeException("Stub!");
	}

	public boolean hasBearing() {
		return bearing > 0.0;
	}

	public void removeBearing() {
		throw new RuntimeException("Stub!");
	}

	public boolean hasAccuracy() {
		throw new RuntimeException("Stub!");
	}

	public void removeAccuracy() {
		throw new RuntimeException("Stub!");
	}

	public String toString() {
		throw new RuntimeException("Stub!");
	}

	public int describeContents() {
		throw new RuntimeException("Stub!");
	}


	public double getLatitude()
	{
		return latitude;
	}

	public void setLatitude(double latitude)
	{
		this.latitude = latitude;
	}

	public double getLongitude()
	{
		return longitude;
	}


	public void setLongitude(double longitude)
	{
		this.longitude = longitude;
	}


	public double getAltidude()
	{
		return altidude;
	}


	public void setAltidude(double altidude)
	{
		this.altidude = altidude;
	}


	public double getSpeed()
	{
		return speed;
	}


	public void setSpeed(double speed)
	{
		this.speed = speed;
	}


	public double getBearing()
	{
		return bearing;
	}


	public void setBearing(double bearing)
	{
		this.bearing = bearing;
	}


	public long getTime()
	{
		return time;
	}


	public void setTime(long time)
	{
		this.time = time;
	}


	public double getAccurancy()
	{
		return accurancy;
	}


	public void setAccurancy(double accurancy)
	{
		this.accurancy = accurancy;
	}
	
	

}